import request from '@/utils/request'

export function getFlower(params) {
  return request({
    url: '/flower/page',
    method: 'get',
    params

  })
}

export function getById(flowerId) {
  return request({
    url: '/flower/getById',
    method: 'get',
    params: {
      flowerId
    }
  })
}